﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<KLS.PPDS.Web.Models.ArticleContentViewModel>" %>
<tr>
        <%--<td>
        </td>--%>
        <td>
            <%if ((Model.IsGraphicsDisable.Equals(false)))
                {%>
            <% if (Model.IsDeleteButtonDisable.Equals(false))
                {%>
            <%:Html.DivActionLink(CommonString.Delete, "", new { @class = "delete-centre-button", @clear = "div#articleContent_" + Model.Id, @target = "div#articleContent_" + Model.Id, @href = string.Format("ArticleContent/Delete?publicationId={0}&articleId={1}&id={2}",Model.PublicationId,Model.ArticleId, Model.Id), @message = CommonMessage.DeleteConfirmation })%>
            <%}%>
            <%:Html.DivActionLink(CommonString.Save, "", new { @ID = "ArticleContentSubmitButton_"+Model.Id  , @class = "save-article-content-button", @ScrollTargetId = "article-page" })%>
            <%
                }%>
        </td>
</tr>

